package org.thread.test00.demo03;

/**
 * @author ZQX
 * @date 2025-03-07
 */
public class MainTest {
    public static void main(String[] args) {
        RgbThread redThread = new RgbThread() ;
        redThread.setName("红");

        RgbThread greenThread = new RgbThread("绿") ;
        RgbThread blueThread = new RgbThread("蓝") ;


        redThread.start();
        greenThread.start();
        blueThread.start();
    }
}
